package com.baizhi.service;

import com.baizhi.entity.Product;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService {

    PageInfo<Product> selectPage(int page,int limit);
    void delete(int id);
    void deleteBatchIds(List<Integer> ids);
    void insert(Product product);
    void update(Product product);
}
